package nc.ui.arap.perfbal.action;

import nc.ui.arap.action.Action;
import nc.ui.arap.action.ActionHandler;
import nc.ui.arap.perfbal.view.QryObjFieldBtns;
import nc.ui.arap.perfbal.view.SaveViewState;
import nc.ui.arap.view.ViewContext;
import nc.vo.arap.perfbal.QryObjFieldVO;
import nc.vo.pub.BusinessException;

@Action(code = QryObjFieldBtns.SAVE)
public class QryObjFieldSaveAction implements ActionHandler<QryObjFieldVO> {

	public void handle(ViewContext<QryObjFieldVO> context)
			throws BusinessException {
		context.getBatchTabelModel().save();
		context.synchronizeMode();
		context.setViewState(new SaveViewState());
	}

}
